.class public Lmyclass/BillData;
.super Landroid/widget/BaseAdapter;
.source "BillData.java"


# instance fields
.field c:Landroid/content/Context;

.field lf:Landroid/view/LayoutInflater;

.field ls:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lbean/BillBean;",
            ">;"
        }
    .end annotation
.end field

.field m:Lmyapp/MyApp;


# direct methods
.method public constructor <init>(Landroid/content/Context;Ljava/util/List;Landroid/content/Context;)V
    .locals 0
    .param p1, "context"    # Landroid/content/Context;
    .param p3, "cc"    # Landroid/content/Context;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            "Ljava/util/List",
            "<",
            "Lbean/BillBean;",
            ">;",
            "Landroid/content/Context;",
            ")V"
        }
    .end annotation

    .prologue
    .line 35
    .local p2, "list":Ljava/util/List;, "Ljava/util/List<Lbean/BillBean;>;"
    invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V

    .line 36
    check-cast p3, Lmyapp/MyApp;

    .end local p3    # "cc":Landroid/content/Context;
    iput-object p3, p0, Lmyclass/BillData;->m:Lmyapp/MyApp;

    .line 37
    iput-object p1, p0, Lmyclass/BillData;->c:Landroid/content/Context;

    .line 38
    iput-object p2, p0, Lmyclass/BillData;->ls:Ljava/util/List;

    .line 39
    return-void
.end method


# virtual methods
.method public getCount()I
    .locals 1

    .prologue
    .line 44
    iget-object v0, p0, Lmyclass/BillData;->ls:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    return v0
.end method

.method public getItem(I)Ljava/lang/Object;
    .locals 1
    .param p1, "position"    # I

    .prologue
    .line 50
    const/4 v0, 0x0

    return-object v0
.end method

.method public getItemId(I)J
    .locals 2
    .param p1, "position"    # I

    .prologue
    .line 56
    const-wide/16 v0, 0x0

    return-wide v0
.end method

.method public getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 9
    .param p1, "position"    # I
    .param p2, "convertView"    # Landroid/view/View;
    .param p3, "parent"    # Landroid/view/ViewGroup;

    .prologue
    .line 62
    if-nez p2, :cond_0

    .line 63
    iget-object v6, p0, Lmyclass/BillData;->c:Landroid/content/Context;

    invoke-static {v6}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v6

    const v7, 0x7f030014

    const/4 v8, 0x0

    invoke-virtual {v6, v7, v8}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object p2

    .line 66
    :cond_0
    const v6, 0x7f07008b

    invoke-virtual {p2, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/TextView;

    .line 68
    .local v3, "dno":Landroid/widget/TextView;
    const v6, 0x7f07008c

    invoke-virtual {p2, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    .line 67
    check-cast v4, Landroid/widget/TextView;

    .line 73
    .local v4, "dostatus":Landroid/widget/TextView;
    const v6, 0x7f07008d

    invoke-virtual {p2, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    .line 72
    check-cast v0, Landroid/widget/TextView;

    .line 75
    .local v0, "addtime":Landroid/widget/TextView;
    iget-object v6, p0, Lmyclass/BillData;->ls:Ljava/util/List;

    invoke-interface {v6, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lbean/BillBean;

    .line 76
    .local v1, "bb":Lbean/BillBean;
    invoke-virtual {v1}, Lbean/BillBean;->getDayCode()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v3, v6}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 78
    const-string v2, "\u7b49\u5f85\u5904\u7406"

    .line 80
    .local v2, "checkstring":Ljava/lang/String;
    invoke-virtual {v1}, Lbean/BillBean;->getSeestatus()Ljava/lang/String;

    move-result-object v5

    .line 81
    .local v5, "paudan":Ljava/lang/String;
    const-string v6, "waitsend"

    invoke-virtual {v5, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_2

    .line 82
    const-string v2, "\u7b49\u5f85\u53d1\u8d27"

    .line 87
    :cond_1
    :goto_0
    invoke-virtual {v4, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 88
    new-instance v6, Ljava/lang/StringBuilder;

    const-string v7, "\u4e0b\u5355\uff1a"

    invoke-direct {v6, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1}, Lbean/BillBean;->getAddTime()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v0, v6}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 151
    return-object p2

    .line 83
    :cond_2
    const-string v6, "is_send"

    invoke-virtual {v5, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_1

    .line 84
    const-string v2, "\u5df2\u53d1\u8d27"

    goto :goto_0
.end method
